import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import Footernav from '../components/footer/Footernav.vue'
import Navlist from '../components/navlist/Navlist.vue'
import MoneyProduct from '../components/moneyproduct/MoneyProduct.vue'
import Category from '../components/categroy/Categroy.vue'
import Productlist from '../components/productlist/Productlist.vue'
Vue.use(Router)

export default new Router({
    // mode: "history",
    routes: [{
            path: '/',
            name: 'navlist',
            component: Navlist
        },
        {
            path: '/moneyproduct/:productid',
            name: 'MoneyProduct',
            component: MoneyProduct
        },
        {
            path: '/category',
            name: 'Category',
            component: Category
        },
        {
            path: '/productlist',
            name: 'Productlist',
            component: Productlist
        },
    ]
})